package com.async.designpatterns.behavior.command;

/**
 * Created by wenzhuo on 2018/1/1.
 * 命令调用者
 */
public class Invoker {

    private Command command;

    public Invoker(Command command) {
        this.command = command;
    }

    public void action(){
        command.exe();
    }
}
